package org.jeecg.modules.device.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 水库信息表VO
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DevReservoirInfoVo对象", description="水库信息表")
public class DevReservoirInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
    private String id;
	/**水库编号*/
    private String code;
	/**水库名称*/
    private String name;
	/**水库类型*/
    @Dict(dicCode = "reservoir_type")
    private String type;
	/**水库图片*/
    private String pic;
	/**坝型*/
	@Dict(dicCode = "reservoir_dam_type")
    private String damType;
	/**水库高度*/
    private String height;
	/**面积*/
    private String area;
	/**当前水位*/
    private String currentWaterLevel;
	/**正常水位*/
    private String normalWaterLevel;
	/**讯限水位*/
    private String limitWaterLevel;
	/**当前库容*/
    private String currentStorageCapacity;
	/**正常库容*/
    private String normalStorageCapacity;
	/**讯限库容*/
    private String limitStorageCapacity;
	/**所在镇*/
    private String affiliatedTown;
	/**具体地址*/
    private String specificAddress;
    //经度
    private String longitude;
    //纬度
    private String latitude;
	/**管理员*/
    private String adminName;
	/**管理员手机*/
    private String adminPhone;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
}
